package com.cyz.common.mapper;

import com.cyz.common.bean.Ad;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author 34928
* @description 针对表【ad】的数据库操作Mapper
* @createDate 2023-02-19 11:29:05
* @Entity com.cyz.bean.Ad
*/
public interface AdMapper extends BaseMapper<Ad> {

    List<Ad> selectFreeAds(String adType);

    boolean removeByIds(Integer[] ids);

    boolean addFreeAds(Ad ad);

    boolean updateFreeAd(Ad ad);
}




